package com.zc.enums;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.stereotype.Component;

import java.util.Locale;
public enum InfoEnum {
    HELLO("greeting");

    final String msg;

    InfoEnum(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }
}
